<?php /* Smarty version 2.6.26, created on 2014-02-07 08:06:14
         compiled from download.tpl.php */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'ucfirst', 'download.tpl.php', 87, false),)), $this); ?>
<?php if ($this->_tpl_vars['upload_type'] == 'link'): ?>

    <?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "link_locker.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php else: ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "download_header.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>


<div class="content" style="background: url('<?php echo $this->_tpl_vars['SITE_URL']; ?>
images/download_bg.jpg') repeat-x top center;">

	<div class="wrapper">


		<div class="h40"></div>

		<div class="boxFull">




<!--File Download Box-->

<a href="<?php echo $this->_tpl_vars['SITE_URL']; ?>
report.php?file=<?php echo $this->_tpl_vars['fileCode']; ?>
" target="_blank" style="font-size: 13px; color: #555555; float: right;">Report File</a>

<center><h3><?php echo $this->_tpl_vars['pagetitle']; ?>
</h3></center>

		<table cellspacing="0" cellpadding="0" class="table">
		<tr><td>File Name</td><td><?php echo $this->_tpl_vars['pagetitle']; ?>
</td></tr>
		<tr><td>File Size</td><td><?php if ($this->_tpl_vars['upload_type'] != 'link'): ?><?php echo $this->_tpl_vars['filesize']; ?>
<?php endif; ?></td></tr>
		<tr><td>Uploaded On</td><td><?php echo $this->_tpl_vars['date']; ?>
</td></tr>

		<?php if ($this->_tpl_vars['desc'] != ""): ?><tr><td>Description</td><td><?php echo $this->_tpl_vars['desc']; ?>
</td></tr><?php endif; ?>
		<?php if ($this->_tpl_vars['upload_type'] == 'link' && $this->_tpl_vars['link_desc'] != ""): ?><tr><td>Description</td><td><?php echo $this->_tpl_vars['link_desc']; ?>
</td></tr><?php endif; ?>
		</table>

    
<div class="h30"></div>

<center>

<a class="button" style="color: #ffffff; text-decoration: none; padding: 5px 20px; font-size: 20px;" href="#" id="reg_download"><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
images/i_download_free.png" />&nbsp; Free Download</a> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<a class="buttonorange" style="color: #ffffff; text-decoration: none; padding: 5px 20px; font-size: 20px;" href="#" id="prem_download"><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
images/i_download_pre.png" />&nbsp; Premium Download</a>

</center>

<script type="text/javascript">
<?php echo '
$(document).ready(function(){

$(\'#cboxClose\').remove();

$(\'#reg_download\').colorbox({inline:true, href:"#offersSection2", width: 576, height:374,  escKey: false, overlayClose:false, scrolling: false});

$(\'#prem_download\').colorbox({inline:true, href:"#premium_download", width: 600, height:400, escKey: false, overlayClose:false});
	
});
'; ?>

</script>

<!--End File Download Box-->



<div class="h30"></div>


<div class="dottedline"></div>


<!--Premium heading-->
<h3>Buy Premium</h3>
Register now as a Premium User and experience direct downloads with no wait time, advertisements, or surveys! Accounts take less than a minute to setup and are easy to buy through PayPal!
<!--End Premium Heading-->

<div class="h20"></div>



<div style="height: 140px; width: 60px; float: left;"></div>
<?php if ($this->_tpl_vars['packages'] != ""): ?>
<?php $_from = $this->_tpl_vars['packages']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['package']):
?>

<!--Pack-->
	<div class="boxDailyRank">

		<div class="boxTitle" style="text-align: center; font-weight: bold;"><?php echo ucfirst($this->_tpl_vars['package']['name']); ?>
</div>
		<div class="dottedRow" style="height: 64px; line-height: 64px; text-align: center; color: #555555; font-size: 40px;">$<?php echo $this->_tpl_vars['package']['dollars']; ?>
.<?php echo $this->_tpl_vars['package']['cents']; ?>
</font></div>
		<div class="noneRow2" style="text-align: center;">
			<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
			<input type="hidden" name="cmd" value="_s-xclick" />
			<input type="hidden" name="hosted_button_id" value="<?php echo $this->_tpl_vars['package']['btn_id']; ?>
" />
			<input type='hidden' name='rm' value='2' />
			<input type='hidden' name='no_note' value='1' />
			<input type='hidden' name='upload' value='1' />
			 <input type='hidden' name='invoice' value='<?php echo $this->_tpl_vars['fileCode']; ?>
-<?php echo $this->_tpl_vars['stringTime']; ?>
' />
			<input type='hidden' name='notify_url' value='<?php echo $this->_tpl_vars['SITE_URL']; ?>
setup_premium.php' />
			<input type='hidden' name='return' value='<?php echo $this->_tpl_vars['SITE_URL']; ?>
premium.php' />
			<input type='hidden' name='cancel_return' value='<?php echo $this->_tpl_vars['SITE_URL']; ?>
download.php' />
			<input type="submit" class="buttonsmall" value="Buy Now!" name="submit" alt="PayPal - The safer, easier way to pay online!" />
			<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
			</form>
		</div>

	</div>

	<div style="height: 140px; width: 40px; float: left;"></div>
<!--End Pack-->


<!--End Package-->
<?php endforeach; endif; unset($_from); ?>
<?php endif; ?>



<div class="h30"></div>



<?php if ($this->_tpl_vars['fcomments'] != ""): ?>

<div class="dottedline"></div>

<div class="h20"></div>

<b>File Testimonials</b>

<div class="h20"></div>

<?php $_from = $this->_tpl_vars['fcomments']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }if (count($_from)):
    foreach ($_from as $this->_tpl_vars['fcomment']):
?>

<div class="greyborder" style="margin-bottom: 10px; padding: 5px;">
<?php echo $this->_tpl_vars['fcomment']['comment']; ?>
 - <font color="#00a0c2"><?php echo $this->_tpl_vars['fcomment']['name']; ?>
</font>
</div>

<?php endforeach; endif; unset($_from); ?>


<?php endif; ?>









<!--Premium Login-->
<div style="display:none">
<div id="premium_download">

<div class="offerp_box">
<div class="top"><p style="float:left" id="pfti">&raquo; <?php if ($this->_tpl_vars['premium_forgot'] == 1): ?>Premium Account Password Reset<?php else: ?>Premium Account Login<?php endif; ?></p><p style="float:right; padding-right:20px;"><a href="javascript:void(0)" onclick="$.colorbox.close()" style="color:#ffffff;">close</a></p></div>

<div class="mid">
<div id="premium_login_form"  <?php if ($this->_tpl_vars['premium_forgot'] == 1): ?> style="display:none"<?php endif; ?>>
<div class="offers_heading">Login to your premium account and download the file right away</div>
<form action="<?php echo $this->_tpl_vars['SITE_URL']; ?>
file/<?php echo $this->_tpl_vars['fileCode']; ?>
" method="post">
<input type="hidden" name="premium_login" value="login" />
<br />
<?php if ($this->_tpl_vars['login_error'] != ""): ?>
<div class="inline_reg_error"><center><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/images/cross.gif" style="vertical-align:top" alt="" /> <?php echo $this->_tpl_vars['login_error']; ?>
</center></div>
<?php endif; ?>
<?php if ($this->_tpl_vars['success_msg'] != ""): ?>
<div class="inline_reg_success"><center><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/images/tick.gif" style="vertical-align:top" alt="" /> <?php echo $this->_tpl_vars['success_msg']; ?>
</center></div>
<?php endif; ?>
<table cellspacing="10" style="width:450px; margin:5px auto;">
<tr><td style="text-align:right">Email Address:</td><td><input type="text" name="email_address" maxlength="55"  class="prem_txt_field" /></td></tr>
<tr><td style="text-align:right">Password:</td><td><input type="password" name="password" class="prem_txt_field" /></td></tr>
<tr><td colspan="2" style="text-align:center"><input type="submit" class="buttonsmall" name="login_btn1" value="Login" onclick="$('#prem_download').colorbox.close();" /> | <a href="#" id="forgot_p">forgot password?</a></td></tr>

</table>
</form>


</div>

<div id="premium_forgot_form" <?php if ($this->_tpl_vars['premium_forgot'] != 1): ?> style="display:none"<?php endif; ?>>
<div class="offers_heading">Enter your premium account email address you want to reset password for.</div>
<form action="<?php echo $this->_tpl_vars['SITE_URL']; ?>
file/<?php echo $this->_tpl_vars['fileCode']; ?>
" method="post">
<input type="hidden" name="premium_forgot" value="forgot" />

<br />
<?php if ($this->_tpl_vars['login_error'] != ""): ?>
<div class="inline_reg_error"><center><img src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
templates/images/cross.gif" style="vertical-align:top" alt="" /> <?php echo $this->_tpl_vars['login_error']; ?>
</center></div>
<?php endif; ?>
<table cellspacing="10" style="width:450px; margin:5px auto;">
<tr><td style="text-align:right">Email Address:</td><td><input type="text" name="email" maxlength="55"  class="prem_txt_field" /></td></tr>
<tr><td colspan="2" style="text-align:center"><input type="submit" class="buttonsmall" name="forgot_btn1" value="Send Password" onclick="$('#prem_download').colorbox.close();" /> | <a href="#" id="backLogin">Back</a></td></tr>
</table>
</form>


</div>






</div>

<script type="text/javascript">
<?php echo '

$(document).ready(function(){
	
	
	//tooltips
	$(\'.offerDiv\').tipsy({gravity: \'s\'});	
	
	
	$(\'.package_box\').hover(function(){ $(this).fadeTo(\'normal\', 0.80, function(){}) }, function(){ $(this).fadeTo(\'normal\', 1, function(){}) });
	
	$("#forgot_p").click(function(e){
	
	e.preventDefault();
	$("#premium_login_form").hide(\'fast\');	
	$("#premium_forgot_form").show(\'fast\');	
	$("#pfti").html("&raquo; Premium Account Password Rest");
		
	});
	
	$("#backLogin").click(function(e){
	
	e.preventDefault();
	$("#premium_forgot_form").hide(\'fast\');	
	$("#premium_login_form").show(\'fast\');	
	$("#pfti").html("&raquo; Premium Account Login");	
	});	
	
	

	
});

'; ?>

</script>




<div class="bottom">&nbsp;</div>



</div>



</div>
</div>
<!--End Premium Login-->




<!--Surveys-->
<div style="display:none">
<div id="offersSection2" >


<iframe src="<?php echo $this->_tpl_vars['SITE_URL']; ?>
offers.php?f=<?php echo $this->_tpl_vars['fileCode']; ?>
&r=<?php echo $this->_tpl_vars['randomHash']; ?>
" style="border:0; width:570px; height:370px; overflow:hidden;  " scrolling="no"></iframe>



</div>
</div>
<!--End Surveys-->



<?php if ($this->_tpl_vars['login_error'] != "" || $this->_tpl_vars['success_msg'] != ""): ?>
<script type="text/javascript">
<?php echo '
$.colorbox({inline:true, href:"#premium_download", width: 600, height:400, escKey: false, overlayClose:false});
'; ?>

</script>
<?php endif; ?>




</div>



		</div>

		<div class="h40"></div>

	</div>

</div>



<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "download_footer.tpl.php", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<?php endif; ?>